package cn.javass.dp.chianofresponsibility.mydemo2;

public class ConcreteHandle1 extends Handle {


    @Override
    public void handleRequest() {
        System.out.println(1);
        if (successor !=null) {
            successor.handleRequest();
        }
    }
}
